package entity

import ()

type StoreBindUser struct {
	Id int64 `gorm:"column:id;type:BIGINT;primary_key" json:"id"`

	StoreId int64 `gorm:"column:store_id;type:BIGINT" json:"store_id"`

	UserId int64 `gorm:"column:user_id;type:BIGINT" json:"user_id"`

	IsLeader int `gorm:"column:is_leader;type:TINYINT" json:"is_leader"`

	CreatedAt int64 `gorm:"column:created_at;type:BIGINT" json:"created_at"`

	UpdatedAt int64 `gorm:"column:updated_at;type:BIGINT" json:"updated_at"`
}

func (a *StoreBindUser) TableName() string {
	return "store_bind_users"
}
